<?php $this->JQuery()->enable();?>
<!-- content -->
    <section id="content">
      <div class="box1">
        <div class="wrapper">
          <article class="col1">
            <div class="pad_left1">
              <h2>Đăng ký khóa học</h2>
                <form id="ContactForm" action="#" method="POST">
                  <div  class="wrapper"> <strong>Họ tên :</strong>
                    <div class="bg">
                      <?php echo $this->formText('tenhv',null,array('class' => 'input'));?>
                    </div>
                  </div>
                  <div  class="wrapper"> <strong>Năm sinh:</strong>
                    <div class="bg">
                      <?php echo $this->formText('namsinh',null,array('class' => 'input'));?>
                    </div>
                  </div>
                  <div  class="wrapper"> <strong>Điện thoại</strong>
                    <div class="bg">
                      <?php echo $this->formText('dienthoai',null,array('class' => 'input'));?>
                    </div>
                  </div>
                  <div  class="wrapper"> <strong>Email:</strong>
                    <div class="bg">
                      <?php echo $this->formText('email',null,array('class' => 'input'));?>
                    </div>
                  </div>
                  
                  <!--  start product-table ..................................................................................... -->
				<table border="0" width="80%" cellpadding="0" cellspacing="0" id="product-table">
				<tr>
					<th class="table-header-repeat line-left"><a>Mã khóa học</a>	</th>
					<th class="table-header-repeat line-left"><a>Tên khóa học</a></th>
					<th class="table-header-repeat line-left"><a>Buổi học</a></th>
					<th class="table-header-repeat line-left"><a>Ca học</a></th>
				</tr>
				
				
<?php
	foreach($this->dkkhoahoc as $khoahoc)
	{
		if($khoahoc->getTrangthai()!='0')
		{
		$id = $khoahoc->getId();
		$tenkhoahoc= $khoahoc->getTenkhoahoc();
		$buoihoc = $this->formRadio('buoi'.$id,null,null,array(0 => 'Buổi sáng', 1 => 'Buổi chiều', -1 => 'Buổi tối' ));
		$cahoc = $this->formRadio('ca'.$id,null,null,array(0 => '2-4-6', 1 => '3-5-7'));
		$submit = $this->formSubmit('submit','Đăng ký',array('class'=>'button'));
		$linkEdit = $this->baseUrl('/admin/nguoidung/capnhat/id/'. $id);
		$linkDelete = $this->baseUrl('/admin/nguoidung/xoa/id/'. $id);
?>
				<tr>
					<td><?php echo $id?></td>
					<td><?php echo $tenkhoahoc?></td>
					<td><?php echo $buoihoc?></td>
					<td><?php echo $cahoc?></td>
				</tr>
<?php
		}
	} 
?>
			</table>
				<!--  end product-table................................... -->
				  <?php echo $submit;?>
				</form>
            </div>
          </article>
        </div>
      </div>
    </section>
    <!-- content -->

